package com.onesports.intelligent.k12.polarlight.domain.vo.sys;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.onesports.intelligent.k12.polarlight.domain.vo.student.StudentQueryVO;
import com.onesports.intelligent.k12.polarlight.domain.vo.student.StudentVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.Instant;
import java.util.Date;
import java.util.List;

/**
 * @author FPH
 * @since 2022年7月13日14:20:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "平台会员分页列表")
public class WxQueryVO {
    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "会员昵称")
    private String nickname;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "账户余额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "累计消费金额")
    private BigDecimal cumulative;

    @ApiModelProperty(value = "学生信息")
    private List<StudentQueryVO> studentQueryVOList;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

    @ApiModelProperty(value = "修改人")
    private String lastModifiedBy;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastModifiedDate;

    private String studentName;
}
